#ifndef _BUOLA_GL_CCONTEXT_H_
#define _BUOLA_GL_CCONTEXT_H_

#include <buola/gl.h>

namespace buola { namespace gl {

class CContext
{
public:
    virtual ~CContext() {}
    virtual img::CSurface *Surface()=0;
    virtual void MakeCurrent(img::CSurface *pSurface)=0;
    virtual bool IsCurrent()=0;
    virtual void SwapBuffers()=0;
};

/*namespace gl*/ } /*namespace buola*/ }

#endif
